
#ifndef   __TOOLS_H_
#define   __TOOLS_H_

#define   SMS_SENDER_ERROR__DATA					1
#define   SMS_SENDER_ERROR__NO_PHONE			2
#define   SMS_SENDER_ERROR__SENDER_BUSY		3
#define   SMS_SENDER_ERROR__UNKNOW_LIST		4


void SMS_Sender_Manager( void );

extern unsigned int  SMS_Sender_Manager__SendTo;	/* Send to: -> Address of OWNERS or USERS List*/
extern unsigned char SMS_Sender_Manager__Status;
extern unsigned char SMS_Sender_Manager__Message[120];
extern unsigned char SMS_Sender_Manager__MessageType; /* "ALARM",  "END OF ALARM"  */
extern unsigned char SMS_Sender_Result; /* result of both task ( send list or send one SMS )*/

extern FUNCTION* Tools;

void Write_SMS ( unsigned char* Message );

unsigned char SMS_Add_Message ( char* RecipientPhone, char* Message );

#endif
